<!--
 * @Author: 小陆同学 1361176289@qq.com
 * @Date: 2024-06-24 13:09:14
 * @LastEditors: 小陆同学 1361176289@qq.com
 * @LastEditTime: 2024-06-24 14:02:48
 * @FilePath: \loCode\src\components\xl-table\component\xl-table-column\index.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
	<th :style="style">{{ label }}</th>
</template>

<script setup>
	import { defineProps } from "vue";
	const props = defineProps({
		label: {
			type: String,
			default: "",
		},
		prop: {
			type: String,
			default: "",
		},
		style: {
			type: [String, Object],
			default: "",
		},
	});
</script>

<style lang="scss" scoped>
	th {
		background-color: #f0f0f0;
		padding: 8px;
		border: 1px solid #ccc;
	}
</style>
